package com.hq.ims.data.event;

import com.hq.ims.data.entity.LogUserLoginInfo;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 用户登录日志事件
 */
public class LogUserLoginInfoEvent extends ApplicationEvent {

    @Getter
    public LogUserLoginInfo logUserLoginInfo;

    public LogUserLoginInfoEvent(Object source, LogUserLoginInfo logUserLoginInfo) {
        super(source);
        this.logUserLoginInfo = logUserLoginInfo;
    }

    public LogUserLoginInfoEvent(Object source) {
        super(source);
    }
}
